home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Collections.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  87 lines

  1. /*
  2.      File:        Collections.idl
  3.  
  4.      Contains:    Collection Manager Interfaces
  5.  
  6.      Version:    Technology:    Copland
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __COLLECTIONS_IDL__
  19. #define __COLLECTIONS_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27. #ifndef __MIXEDMODE_IDL__
  28. #include <MixedMode.idl>
  29. #endif
  30. #ifndef __MEMALLOCATORS_IDL__
  31. #include <MemAllocators.idl>
  32. #endif
  33.  
  34. #ifdef __SOMIDL__
  35.  
  36. /*************/
  37. /* Constants */
  38. /*************/
  39. /* Convenience constants for functions which optionally return values */
  40. /* attributes bits */
  41. /*
  42.     Attribute bits 0 through 15 (entire low word) are reserved for use by the application.
  43.     Attribute bits 16 through 31 (entire high word) are reserved for use by the Collection Manager.
  44.     Only bits 31 (kCollectionLockBit) and 30 (kCollectionPersistenceBit) currently have meaning.
  45. */
  46. /* attribute masks */
  47. /***********/
  48. /* Types   */
  49. /***********/
  50. /* abstract data type for a collection */
  51. typedef OpaquePtr                Collection;
  52.  
  53. /* collection member 4 byte tag */
  54. typedef FourCharCode            CollectionTag;
  55.  
  56. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  57. typedef OpaquePtr CollectionFlattenProcPtr;
  58. typedef OpaquePtr CollectionFlattenUPP;
  59. typedef OpaquePtr CollectionExceptionProcPtr;
  60. typedef OpaquePtr CollectionExceptionUPP;
  61. #endif
  62. #if FOR_SYSTEM8_PREEMPTIVE
  63. typedef OpaquePtr CollectionFlattenPreemptiveProcPtr;
  64. typedef OpaquePtr CollectionExceptionPreemptiveProcPtr;
  65. #endif
  66. /*********************************************/
  67. /************* Public interfaces *************/
  68. /*********************************************/
  69. #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
  70. #endif
  71. #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
  72. #endif
  73. #if FOR_SYSTEM8_PREEMPTIVE
  74. #endif
  75. #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
  76. /**********************************************************************/
  77. /************** Utility routines for handle-based access **************/
  78. /**********************************************************************/
  79. #endif
  80. #if OLDROUTINENAMES
  81. #endif
  82.  
  83. #endif /* __SOMIDL__ */
  84.  
  85. #endif /* __COLLECTIONS_IDL__ */
  86.  
  87.